#include <iostream>
#include "libtcod.hpp"

using namespace std;

int main() {
	bool endGame = false;
	TCODConsole::initRoot(80, 50, "my game", false);
	TCODSystem::setFps(25); // limit framerate to 25 frames per second
	while (!endGame && !TCODConsole::isWindowClosed()) {
		//... draw on TCODConsole::root
		TCODConsole::renderCredits(0, 0, false);
		TCODConsole::flush();
		TCOD_key_t key = TCODConsole::checkForKeypress();
		//updateWorld(key, TCODSystem::getLastFrameLength());
		// updateWorld(TCOD_key_t key, float elapsed) (using key if key.vk != TCODK_NONE)
		// use elapsed to scale any update that is time dependant.
	}
	return 0;
}
